package test;

import java.lang.reflect.Method;

import org.abettor.angleworm.media.conf.ApplicationEnvironment;

/**
 * 类加载器，自动加载所需classpath，并执行测试程序
 * @author abettor
 *
 */
public class BootEntry
{
	public static void main(String[] args) throws Exception
	{
		ApplicationEnvironment.loadClassPaths();
		Class<?> clazz = Class.forName("test.MediaTransTest");
		Class<?>[] paramTypes = new Class<?>[]{String[].class};
		Method method = clazz.getMethod("main", paramTypes);
		Object[] objs = new Object[]{new String[]{}};
		method.invoke(null, objs);
	}
}
